package net.mujiwulian.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: silence
 * @Description:
 * @Date:Create：in 2019/12/30 14:39
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "day")
public class Day implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 第几天
     */
    @TableField(value = "`index`")
    private Integer index;

    @TableField(value = "disease_id")
    private Integer diseaseId;

    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private List<DayAcupoint> dayAcupoints;
}
